package com.yiwyn.demo.event;


import lombok.Getter;
import org.springframework.context.ApplicationEvent;


@Getter
public class TestEvent extends ApplicationEvent {

    private static final long serialVersionUID = 6943564193718570011L;
    private String result;

    public TestEvent(Object source) {
        super(source);
    }

    public TestEvent(Object source, String result) {
        super(source);
        this.result = result;
    }
}
